package com.icinema.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.icinema.vo.Cinema;
import com.icinema.vo.CinemaSubscription;
import com.icinema.vo.CinemaSubscriptionDetail;

public interface CinemaServiceAsync {
	void addCinema(Cinema cinema, AsyncCallback<String> callback);
	void getCinemas(AsyncCallback<List<Cinema>> callBack);
	void delete(String key, AsyncCallback<Void> callBack);
	void deleteCinema(String key, AsyncCallback<Message> msg);
	void getCinemaSubscriptions(AsyncCallback<List<CinemaSubscriptionDetail>> callback);
	void addCinemaSubscription(CinemaSubscription subscription, AsyncCallback<Void> callback);
}
